SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c03830a2a1a20683c16e401e872b051a9cb30ef8132bca7320ae12d0e785b6ca' 
  AND token = 'KHktBE+cHNSAT6ScOym4Gg4Z4Xt/lMl1ADDHl6ZeE9c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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