SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f34e22c4f3e6cd5e817865ea71b130859a1805fccb09bca10c46e7327f2101b4' 
  AND token = 'NaDQUX7782GvS/ourpxzoPOMUtwXngELJ677OOgYsks=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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