SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9bae2306016c687d4397b9190554d72a342d7f634dd82290866f4e151a255aa9' 
  AND token = 'bDGVtR9O7VWwPAhlfG8EULyunPEuWm7XuCExcF6A/to=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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