SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '012ea5419872ae79a4e5025c5a2f29e3a5905fc914488ed22786bccfbc923ba5' 
  AND token = 'RpzHKBfmyovddmF8D/LMPvBQQPIXqe+C4kGxonlELfc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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