SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1fa67d1453325eec39d68fe504d1ee925372226423896c078fb217354c9e983' 
  AND token = 'O/JWeEhGy8oiZfV92sfJfL0NEB7gddPmNCSlkJUBNa4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}