SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b2fd1d8964f4b4b44ecc97841bd423f9e2dc9dfd7420fda3e74f06ad60d90f30' 
  AND token = '1iTsH8Nswz2p51nX8H8I+AVt/SwlcpJbVeDZV3LzhDQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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