SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1172f7c1ce7a5b56dbaec7fe33033166a6550a1f3d77694b6c0264866ee6fd8a' 
  AND token = 'zSyoiIRKmAVokfEG09iFjVv9RtHHCzLn+Ydfxpcf7VU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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