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

Query time 0.00051

JSON explain

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