SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1966a5cfc287a69d562c1d85a26229b801a9cddc37a4a15b2204281021b504b9' 
  AND token = 'nULiNaJoSQ13i1X0uUb/G+AqsbYS4ClelrAFcpWNuVo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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