SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ca0d83a979585467d0291bfb9d99dabd8309045217116b98886c84740be18107' 
  AND token = 'UvGEYsQVrYq862k0ijaTAgWs8dDLnNOUQXH2l5QuO4k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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