SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '604b3f9f3de8b375c5854105834d8d26e01354408ff52023f913146c1e5a46ae' 
  AND token = 'gMYz/DsEE8O36FGa7Hh3eWg5FSVqJcjhospDX4F5hOc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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