SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd17ede59002e46677c70d4ba628dcc4e800f71ae810c3dfad6e69ce65f626d39' 
  AND token = 'BT6M3tTYfL4fM29QL0BNNj9D6yeNhk/s9M5e+qojE/Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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