SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3e7bf225f36bfe3e14a8d924baea8dcc73adc94cbf88396c1658e7d9880390c8' 
  AND token = 'KVpWLZmQ4v1ifuovbtlzw59T8eMw4vBM1RgSHk87HQo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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