SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0f3e9ba8193a7cf73d93bfd65d4ea586d515f15bda043423d4b67f36485c31d' 
  AND token = 'SzVb3mHt/pnRpd0U/WaCWnyAnpY4rZoxfhW7htaHRfk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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