SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8840c9a19cfa0deda6174327d6e97be9d7d83d2d34d7f044dc87cbc9312f3dd5' 
  AND token = 'yH0xMscfJoj/f3Oysjp4pxTJzeUOSiDW2xaW9wCBIwY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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