SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '178bc766a798af1e127092fb1e1f050e432a4c20333d292c85a1f6c0628b033a' 
  AND token = 'lqepy3QZ2te1baRxfPyvEp6tNIhZvUhRMy0oc24BTzM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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