SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e51a29ce8b6456b90662a28a38dd40868647c61c908ed73c6efe8f4c8f6e06f0' 
  AND token = '/eGnXluBHg8ZLqbayKsYt+Yxh7Uqp0Y0OKnQ480hxV0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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