SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2eb3fe3c10ea6fe19d9b940b8a87e3bdf6b73ff8b67ce4a68b6e74b969f5931d' 
  AND token = 'BDpDLHgexeTwgWVATPyMNqMn5u7YwJZ1izwe5iU32zY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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