SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '65f45cc3976df56c4683252024a2989a95785f8d7e6369b554d86e904f1faa49' 
  AND token = 'o17EzDwsqnMXtT0Z+fntWU4pog+yblXKU5rKJ/n8qH0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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