SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f6577bdadf7fbd77823999a2eac477403be34ee6f977d7cf8b68817157edda7b' 
  AND token = 'IjjBG7eiiWvM67AssMviYera3FX2fMi1YK61waFSBd4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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