SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '778018edaab651b7dd0a785c2fd8f22c8697df209db8922a941683a084b3e0af' 
  AND token = '/T828P6I5g8EcHpx6Z/PG9e97fHdjM65Jv2nIYPKPag=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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