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

Query time 0.00053

JSON explain

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