SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e9d632230df34868678f836eb356d341b66438dbfb18d83f2429e629c146b841' 
  AND token = 'g0n3Q7GywG1G39ot97I2FHElLN/VPHuBUyL8IPV289Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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