SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a82b3cb8a80bc34fe4573a4c2c2c8be1df763c56c5a1f50f9eda30ed1f68cc40' 
  AND token = 'aKn0ALtOxF5cCp2aOeD/wu2+XXrkNlr9VanpPm309Oo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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