SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c97409b93edc516081b36bb1b40fcd247ec9eb4a25e7da44bb7d1c8cc1554ac' 
  AND token = '4XDkcitPshZmf6IvlbCF3zXOWC+DvJoobCRspZRPey8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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