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

Query time 0.00051

JSON explain

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