SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab7a84bacc06890d01b74cab2134cc980564a51af849a3ac23db7c8aad3dbafb' 
  AND token = 'Q9QFgteZUg9foY15unb8jCw1uarS5isXq7C77wD8h6Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00069

JSON explain

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