SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e25d4b2455feba61395e531da3180df87c75cc2b0cac067e34aacdb2b5302bf' 
  AND token = 'NKNPp3e42LmvHxe51Zn+DS4tYs9LR5V4+6Gb7pqwfbY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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