SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7b906a1dd71405fb40fd2fbffdfe7bb0b090ce53351d97265884eff887f5a260' 
  AND token = 'B919Oo8lSzG64ye/ryhCL9fZGoceyvN5rA2a580+suQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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