SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9e1eba5990a60b775ab8a1423543b927423b56684b60e9cecb5fec46576bd03f' 
  AND token = 'gkyCXPkLDTO19eh6mabpKSjgrTp2l0otqeSjdohr+AM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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