SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a20ddee4a4ced688501ce09a5492c93f32a163bb774b347ed4ff9d0718b0e970' 
  AND token = 'JW3Cw7K+5d69RZSSA3MpfhC3Sv6/cA4h52lHiA1rg8o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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