SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '00790a582eae7ac274bb92c624bb6930c419c9e07d702379da869b04887817a8' 
  AND token = 'hehC//qWuGx9RtU93isaA54Z94mr+zgG9HbJt8xyaxg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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