SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9cbb442695406a75bb25138e9abab3d1bfb1f4640d910e202b0d5bb8e11e36b7' 
  AND token = 'UWlWaBkC6eFGypJyCu74/2iO6ppW3oblptLF2j5b0wo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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