SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3efc2c67f9e66127d1b742618c271d4b1d937c5c0d016697a796513066cf4713' 
  AND token = 'CbFE+DUp7B7BYsygK+9HTxxMYqBr1PXrLAB6OS/cOiA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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