SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b23eab9ab823db40965df0a280ea2c1dcfaf5d4d3deb0ff988084ae80935562d' 
  AND token = 'mxcJXNQ1ucA6SH7ruLzoi+6BD347F9hSnJ4f0g+Jwsw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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